2021 11 10

Understanding Gas Mileage

Using the mtcars dataset I could attempt to understand the relationship of various factors to gas mileage (mpg).

I plotted weight (wt) vs. mileage (mpg) spatially along the x/y axes. I visualized the number of cylinders (cyl) as colors in the plot.

Visualizing the Data